/*
 * @Author: linZeJian
 * @Date: 2022-04-26 14:12:08
 * @LastEditors: linZeJian
 * @LastEditTime: 2022-04-26 14:13:37
 * @Description: 
 */
import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import VueRouter from 'vue-router'
import App from './App.vue'
import router from './router.js';
// import './assets/icons' // icon
 import "@/style/app.scss";
if (process.env.NODE_ENV=='development'){
  require('./mock');
}

Vue.use(ElementUI)
Vue.use(VueRouter)
import SvgIcon from '@/components/SvgIcon'// svg component
// register globally
Vue.component('svg-icon', SvgIcon)

import {
  Flexbox,
  FlexboxItem
} from '@/components/Flexbox'
Vue.component('flexbox', Flexbox)
Vue.component('flexbox-item', FlexboxItem)

Vue.config.productionTip = false

new Vue({
  router, 
  render: h => h(App),
}).$mount('#app')
